#define _CRT_SECURE_NO_WARNINGS
#include"priority_queue.h"
#include<iostream>
#include<queue>
#include<list>

namespace my_priority_queue
{
	void test1()
	{
		
		priority_queue<int> pq;
		pq.push(1);
		pq.push(9);
		pq.push(6);
		pq.push(2);
		pq.push(7);
		pq.push(4);

		cout << pq.size() << endl;
		cout << pq.top() << endl;

		pq.pop();

	}

	void test2()
	{
		list<int> lt = { 5,9,3,5,6,8,7,1,0 };
		priority_queue<int, vector<int>, greater<int>> pq(lt.begin(), lt.end());
	}
}

int main()
{
	my_priority_queue::test2();

	return 0;
}